﻿using AutoMapper;
using CommunityToolkit.Mvvm.ComponentModel;
using CommunityToolkit.Mvvm.Input;
using HandyControl.Controls;
using Microsoft.Extensions.Logging;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ShanNiang.Mvvm.ViewModels
{
    public partial class LogoutViewModel : UIViewModel
    {
        public LogoutViewModel(IMapper mapper,ILogger<LogoutViewModel> logger):base(mapper, logger) 
        {
            //_logger=logger;
        }
        [RelayCommand]
        private void WriteLog()
        {
            Growl.Success("Properties.Langs.Lang.GrowlInfo", "_token");
            Logger.LogTrace("Hello Kitty ");
            Logger.LogDebug("Hello Kitty ");
            Logger.LogInformation("Hello Kitty ");
            Logger.LogWarning("Hello Kitty ");
            Logger.LogError("Hello Kitty ");
            Logger.LogCritical("Hello Kitty ");
        }
    }
}
